#!/usr/bin/make -f

export QTDIR=/usr/share/qt3
export INSTALL_ROOT=$(DEB_DESTDIR)
export QMAKESPEC=linux-g++

include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk

install/pdfedit::
	$(RM) $(DEB_DESTDIR)/usr/share/doc/pdfedit/LICENSE.GPL
	$(RM) $(DEB_DESTDIR)/usr/share/doc/pdfedit/Changelog
	chmod 644 $(DEB_DESTDIR)/usr/share/pdfedit/icon/hicolor/*
	mkdir $(DEB_DESTDIR)/usr/share/applications/
	cp debian/pdfedit.desktop $(DEB_DESTDIR)/usr/share/applications/

get-orig-source:
	-uscan --upstream-version 0
